<?php
namespace app\pc\controller;

use app\common\lib\oss\Oss;

class common extends PcController
{
    //获取oss的临时签名
    public function getOssTemKey(){
        try{
            return $this->success(Oss::getTemKey());
        }catch(\Exception $e){
            echo $e->getMessage();die;
            return $this->error();
        }  
    }
}